package com.ve.searcher.lucutil

import org.apache.lucene.document.Document

import java.util.Arrays

class DocumentWithHighlights(var document: Document?, var fragments: Array<String>?) {

    override fun toString(): String {
        return "DocumentWithHighlights{" +
                "document=" + document +
                ", fragments=" + Arrays.toString(fragments) +
                '}'.toString()
    }
}